package com.baweiwei.userapi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@FeignClient(value = "good-service")
public interface GoodFeign {

    @RequestMapping("/good/gets")
    public List<Map> getGoods();
}
